Skip to content

2 ways of doing particles swarm - #87

Draft
ameerf-wix wants to merge 2 commits into
masterfrom
particles-for-michael
Draft

2 ways of doing particles swarm#87
ameerf-wix wants to merge 2 commits into
masterfrom
particles-for-michael

Conversation

@ameerf-wix

@ameerf-wix ameerf-wix commented May 27, 2026

Copy link
Copy Markdown

vertex shaders are the way to go probably... This is not really done with Kampos, only guiding GPT/Claude through the ideas. After some research this is probably the simplest and as performant as my suggestions with FBO/GPGPU/Transform-feedback (maybe even more I guess because of the swapping of textures needed..). These methods are better for >1M particles or for complex interactions and physics

run demo locally and go to
vertex shader implementation playground 1
vertex shader implementation playground 2
The second one is better IMO

EDIT:
now connected to Kampos! I did not look at the code, and there is probably a lot of improvements and cleanup that can be done, especially with anything having to do with scrubbing time, but it is a starting point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant